const ReadOnlyPropsCom = props=>{
    // console.log(props);
    // props.name = "摸金校尉" 报错，不允许修改
    return(
        <fieldset>
            <legend>props</legend>
            <h1>props的只读性</h1>
        </fieldset>
    )
}

export default ReadOnlyPropsCom